
/*! Responsive menu
version: 0.2.1
*/

/*
Suggested HTML:
<a class="rm-toggle rm-button rm-nojs" href="#">Menus</a>
<nav class="rm-nav rm-nojs rm-lighten">
	<ul> ...

Theme class options: rm-lighten(as illustrated above), rm-darken.
rm-lighten theme lightens menu item backgrounds.
rm-darken theme darkens menu item backgrounds.
Set menu background color to any color
to work with the chosen theme.
*/

/* Set menu background color here */
.rm-nav ul,
.rm-menu {
    margin-top: 0;
}

/* Required styles =========================================================== */

/* Add clearfix to nav element container*/
.rm-container:after {
    content: " ";
    display: table;
    clear: both;
}



/* Menu Container Element */
.rm-nav {
    clear: both;
}

/* Menu Element */
.rm-nav > ul,
.rm-top-menu {
    clear: both;
    list-style: none;
    padding: 0;
    margin-left: 0;
    margin-bottom: 0;
    zoom: 1;
}

/* Menu & Sub Menu Items */
.rm-nav li,
.rm-menu-item {
    position: relative;
}
.rm-nav > ul > .rm-last,
.rm-top-menu > .rm-last {
    margin-bottom: 1em;
}
.rm-nav li a,
.rm-menu-item a {
    padding: .75em 1em;
    display: block;
    position: relative;
    color:#016600;
    text-decoration: none;
}

/* Sub Menus */
.rm-nav li ul,
.rm-menu-item .rm-menu {
    width: 100%;
    padding:0;
    margin-left: 0;
    list-style: none;
    z-index: 500;
    zoom: 1;
}
.rm-nav .rm-hover ul,
.rm-nav .rm-hover .rm-menu {
    z-index: 600;
}

/* Sub Menu Items */
.rm-nav li li a,
.rm-menu-item .rm-menu-item a {
    z-index:500;
    padding-left: 2em;
}
.rm-nav li li.rm-last a,
.rm-menu-item .rm-menu-item.rm-last a {
    padding-bottom: 1em;
}
.rm-nav li li ul,
.rm-menu-item .rm-menu-item .rm-menu {
    position: static;
}

.rm-nav li li li a,
.rm-menu-item .rm-menu-item .rm-menu-item a {
    z-index:600;
    padding-left: 3em;
}

/* CSS Animations ============================================================= */
.rm-accelerate {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    -webkit-backface-visibility:hidden;
    -webkit-perspective: 1000;
}
.rm-css-animate {
    display: block;
    max-height: 0;
    overflow: hidden;
}


/* Theme styles ============================================================= */

.rm-nav a {
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
}





/* Expanded Layout styles - .rm-layout-expanded class is applied by plugin ========= */

.rm-layout-expanded .rm-nav > ul,
.rm-layout-expanded .rm-top-menu {
    margin-bottom: 0;
}

.rm-layout-expanded .rm-nav > ul > li,
.rm-layout-expanded .rm-top-menu > .rm-menu-item {
    float: left;
}
.rm-layout-expanded .rm-nav > ul > .rm-last,
.rm-layout-expanded .rm-top-menu > .rm-last {
    margin-bottom: 0;
}
.rm-layout-expanded .rm-nav > ul > li > a,
.rm-layout-expanded .rm-top-menu > .rm-menu-item > a {

    padding-top: 0;
    padding-bottom: 0;
}
.rm-layout-expanded li ul,
.rm-layout-expanded .rm-menu-item .rm-menu {
    width: auto;
    min-width: 100%;
    position: absolute;
    left: 0;
}
.rm-layout-expanded li.rm-last ul,
.rm-layout-expanded .rm-menu-item.rm-last .rm-menu,
.rm-layout-expanded li.rm-2nd-last ul,
.rm-layout-expanded .rm-menu-item.rm-2nd-last .rm-menu {
    left: auto;
    left: 0;
}
.rm-layout-expanded li li ul,
.rm-layout-expanded .rm-menu-item .rm-menu-item .rm-menu {
    position: absolute;
    left: 100%;
    top: 0;
}
.rm-layout-expanded li li.rm-last ul,
.rm-layout-expanded .rm-menu-item .rm-menu-item.rm-last .rm-menu,
.rm-layout-expanded li li.rm-2nd-last ul,
.rm-layout-expanded .rm-menu-item .rm-menu-item.rm-2nd-last .rm-menu{
    right: 100%;
    left: auto;
}
.rm-layout-expanded li a,
.rm-layout-expanded li li a,
.rm-layout-expanded li li li a,
.rm-layout-expanded .rm-menu-item a,
.rm-layout-expanded .rm-menu-item .rm-menu-item a,
.rm-layout-expanded .rm-menu-item .rm-menu-item .rm-menu-item a {
    padding-left: 1em;
}

/* clearfix */
.rm-layout-expanded .rm-nav > ul:before,
.rm-layout-expanded .rm-nav > ul:after,
.rm-layout-expanded .rm-top-menu:before,
.rm-layout-expanded .rm-top-menu:after {
    content: " ";
    display: table;
}
.rm-layout-expanded .rm-nav > ul:after,
.rm-layout-expanded .rm-top-menu:after {
    clear: both;
}



/* Calculation Styles ============================================================
 * Applied and removed by jQuery during menu height calculations
 */

.rm-calculate {
    position: absolute !important;
    max-height: none !important;
    overflow: visible !important;
}
.rm-layout-contracted .rm-calculate {
    width: 100% !important;
}

/* Accessibility ============================================================ */

.rm-container .accessibly-hidden {
    position: absolute;
    left: -999em;
}
